using System.Collections.Generic;
using System.Web.Core;

namespace Forum.Business
{
    public class SectionRoleUserRequest : TEntityRequest<SectionRoleUser>
    {
        private int sectionId = 0;
        private int roleId = 0;
        private int userId = 0;

        public int SectionId
        {
            get
            {
                return sectionId;
            }
            set
            {
                sectionId = value;
            }
        }
        public int RoleId
        {
            get
            {
                return roleId;
            }
            set
            {
                roleId = value;
            }
        }
        public int UserId
        {
            get
            {
                return userId;
            }
            set
            {
                userId = value;
            }
        }
    }
    public class SectionRoleUserListRequest : TEntityListRequest<SectionRoleUser>
    {
        private int? sectionId = GetParameterValue<int?>(ForumParameterName.SectionId);
        private int? roleId = GetParameterValue<int?>(ParameterName.RoleId);

        public int? SectionId
        {
            get
            {
                return sectionId;
            }
            set
            {
                sectionId = value;
            }
        }
        public int? RoleId
        {
            get
            {
                return roleId;
            }
            set
            {
                roleId = value;
            }
        }
    }
    public class SectionRoleUserReply : EntityReply
    {
    }
}